package com.dabai.iot.core.vo;

import com.dabai.iot.core.entity.AlarmActionEntity;
import com.dabai.iot.core.entity.AlarmEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 告警配置 视图实体类
 *
 * @author kev1n
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AlarmVO extends AlarmEntity {

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 设备
     */
//    private List<DeviceBasicVO> devices;

    /**
     * 设备id集合
     */
    private List<Long> deviceIds;

    /**
     * 监听器
     */
//    private List<AlarmListenerVO> alarmListeners;
    private AlarmListenerVO alarmListener;

    /**
     * 输出
     */
    private List<AlarmActionEntity> alarmActions;

}
